def _is_variable_assignation(line: str) -> bool:
    """Check if the line is a variable assignation.

    This function is used to check if a line of code represents a variable
    assignation:
    * if contains a "=" (assignation) and does not start with import, nor @,
      nor def, nor class.
    * then it is ==> is a global variable assignation.

    :param line: Line to parse
    :return: <Boolean>
    """
    if "=" in line:
        parts = line.split()
        if (
            not (
                line.startswith("from")
                or line.startswith("import")
                or line.startswith("@")
                or line.startswith("def")
                or line.startswith("class")
            )
            and len(parts) >= 3
            and parts[1] == "="
        ):
            # It is actually an assignation
            return True
        else:
            # It is an import/function/decorator/class definition
            return False
    else:
        # Not an assignation if does not contain "="
        return False