<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _has_population_germline(rec):
 """Check if header defines population annotated germline samples for tumor only. """

    for k in population_keys:
        if k in rec.header.info:
            return True
    return False