def not_none(): """Matches if object is not ``None``.""" return is_not(none())
def not_none(): """Matches if value is not None.""" return is_not(none())