def get_first_qualifier(feature, qualifier_key):
    """
    Get first value of given qualifier or None if it is not present.
    :param feature: Feature to get qualifier from
    :param qualifier_key: Qualifier key to get
    :return: first value of given qualifier or None if it is not present
    """
    return feature.qualifiers.get(qualifier_key)[0] if feature.qualifiers.get(qualifier_key) else None