(format)
Checks if the current document can be converted
    to the specified target format.

    format -- the target conversion format specified either as an
              extension (ex. 'png') or as a mime type
              string (ex. 'text/plain')
Checks if the current document can be converted
    to the specified target format.
Checks if the current document can be converted to the specified target format .
def isTargetFormatAllowed(format): # pylint: disable=redefined-builtin
    """
    Checks if the current document can be converted
    to the specified target format.

    format -- the target conversion format specified either as an
              extension (ex. 'png') or as a mime type
              string (ex. 'text/plain')
    """
def isTargetFormatAllowed ( format ) : # pylint: disable=redefined-builtin