def tagsContain(f_tn, ec2_obj):
    """
  Similar to isitfit.cost.redshift_common.tagsContain
  """
    if ec2_obj.tags is None:
        return False
    for t in ec2_obj.tags:
        for k in ['Key', 'Value']:
            if f_tn in t[k].lower():
                return True
    return False
