<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def is_not_none(self, a, message=None):
        "Check if a value is not None"
        if a is None:
            self.log_error("{} is None".format(str(a)), message)
            return False
        return True