parameters: (content, ignore_fun)
return_statement: return False
docstring: Print failure state and return if ignore_fun matches content.
docstring_summary: Print failure state and return if ignore_fun matches content.
docstring_tokens: Print failure state and return if ignore_fun matches content .
function: def content_bailout(content, ignore_fun):
    """Print failure state and return if ignore_fun matches content."""
    bug = (ignore_fun(content) or '').strip()
    if bug:
      print FAILURE_HEADER_TEMPLATE % dict(
          configs='', source_key='', suppression=bug)
      return True
    return False
function_tokens: def content_bailout ( content , ignore_fun ) : bug = ( ignore_fun ( content ) or '' ) . strip ( ) if bug : print FAILURE_HEADER_TEMPLATE % dict ( configs = '' , source_key = '' , suppression = bug ) return True return False