def attempt(variable_name, desired_class):
    prompt_and_run()
    variable = globals().get(variable_name)

    if isinstance(variable,desired_class):
        if desired_class < Image:
            if variable.isEmpty():
                print lb
                print "Although you can create empty Images on SimpleCV, let's not"
                print "play with that now!"
                print lb
                return False

        return True

    return False
dataset/ETHPy150Open sightmachine/SimpleCV/SimpleCV/Shell/Tutorial.py/attempt/operator `==` -> `<`