import re


def parse_define(line):
    """Check if the specified line contains an #define directive"""

    pattern = r'#(?:\s)*define\s*([\w_]+)(?:\s)*["\']?(.*)["\']'

    match = re.match(pattern, line, re.IGNORECASE)

    if match:
        return (match.group(1), match.group(2))