<human>:  What is a good Python function to check if it is defined? What is python function to check? Python functions are defined by Python.
<bot>: Here is a Python function to check if is defined

import math

def is_function_defined(function_name):
  """Check if function is defined."""
  if function_name in globals():
    return True
  else:
    return False

# Enter the function name
function_name = "sin"

# Calling the function
print((is_function_defined(function_name)))

#Example Output
# False

#Remember to inspect code for bugs.