<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def checkMain():
 """ This script performs two checks. First it tries to import nupic.bindings to check that it is correctly installed. Then it tries to import the C extensions under nupic.bindings. Appropriate user-friendly status messages are printed depend on the outcome. """

  try:
    checkImportBindingsInstalled()
  except ImportError as e:
    print ("Could not import nupic.bindings. It must be installed before use. "
           "Error message:")
    print e.message
    return

  try:
    checkImportBindingsExtensions()
  except ImportError as e:
    print ("Could not import C extensions for nupic.bindings. Make sure that "
           "the package was properly installed. Error message:")
    print e.message
    return

  print "Successfully imported nupic.bindings."