<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def filter_core_keywords(keywords):
 """Only return keywords that are CORE."""

    matches = {}
    for kw, info in keywords.items():
        if kw.core:
            matches[kw] = info
    return matches