'Returns whether this answer is in a valid form.'

def validate_answer(self, answer):

    try:
        evaluator(dict(), dict(), answer)
        return True
    except (StudentInputError, UndefinedVariable):
        return False
