def IsBinary(self, filename):
    """Returns true if the guessed mimetyped isnt't in text group."""
    mimetype = mimetypes.guess_type(filename)[0]
    if not mimetype:
      return False  # e.g. README, "real" binaries usually have an extension
    # special case for text files which don't start with text/
    if TEXT_MIMETYPES in mimetype:
      return False
    return not mimetype.startswith("text/")
dataset/ETHPy150Open CollabQ/CollabQ/bin/upload.py/VersionControlSystem.IsBinary/swapped operands of `in`