def clean(self, value):
if isinstance(value, six.string_types) and value.lower() == '<STR_LIT:false>':<EOL><INDENT>return False<EOL><DEDENT>return bool(value)<EOL>
Cleans and returns the given value, or raises a ParameterNotValidError exception