import re


def maybe_import_operation(r_command):
    """Searches an r command for common import functions
    Parameters
    ----------
    r_command : string
                command from R file
    Returns
    -------
    bool
    """
    r_import_list = ['read', 'load', 'fromJSON', 'import', 'scan']
    for pattern in r_import_list:
        if re.search(pattern, r_command):
            return True
    return False