@staticmethod
def _import_type(line):
    """If the current line is an import line it will return its type (from or straight)"""
    if 'isort:skip' in line:
        return
    elif line.startswith('import '):
        return 'straight'
    elif line.startswith('from '):
        return 'from'
