parameters: (value)
return_statement: return value is not None and value >= 0
docstring: checks if value is valid
docstring_summary: checks if value is valid
docstring_tokens: checks if value is valid
function: def check_validity(value):
      """checks if value is valid"""
      return value is not None and value >= 0
function_tokens: def check_validity ( value ) : return value is not None and value >= 0