code: def _rollback_production(lambda_client, function_name):
      """Rollback the production alias for the given function name.
  
      Args:
          lambda_client (boto3.client): boto3 client to use for rolling back the function
          function_name (str): Name of function to be rolled back
  
      Returns:
          bool: False if errors occurred, True otherwise
      """
      version = lambda_client.get_alias(
          FunctionName=function_name, Name="production"
      )["FunctionVersion"]
  
      if version == "$LATEST":
          # This won't happen with Terraform, but the alias could have been manually changed.
          LOGGER.error(
              "%s:production is pointing to $LATEST instead of a published version",
              function_name,
          )
          return False
  
      current_version = int(version)
      if current_version == 1:
          LOGGER.warning(
              "%s:production is already at version 1", function_name
          )
          return False
  
      LOGGER.info(
          "Rolling back %s:production from version %d => %d",
          function_name,
          current_version,
          current_version - 1,
      )
      try:
          lambda_client.update_alias(
              FunctionName=function_name,
              Name="production",
              FunctionVersion=str(current_version - 1),
          )
      except ClientError:
          LOGGER.exception("version not updated")
          return False
  
      return True
  
file_path: streamalert/streamalert_cli/manage_lambda/rollback.py
imports: import boto3
  from botocore.exceptions import ClientError
  from streamalert.shared.logger import get_logger
  from streamalert_cli.terraform.generate import terraform_generate_handler
  from streamalert_cli.utils import add_default_lambda_args, CLICommand, function_map, set_parser_epilog
label_desc: Use image node_id 1 for calling a global function with example usage: _rollback_production(lambda_client, function_name) and returns: True, False, False, False