import re


def _uses_settings(file):
    """Check if file imports AppSettings class.

    Returns:
        bool: True if it does, False otherwise.
    """
    with open(file) as src_file:
        return bool(re.search('AppSettings', src_file.read()))