def parse_fuzzy_compare(source):
 if source.match('<='):
  return True
 elif source.match('<'):
  return False
 else:
  return None

def parse_fuzzy_compare ( source ) : if source . match ( '<=' ) : return True elif source . match ( '<' ) : return False else : return None
parses a cost comparator .