def check_align_percent_field(d):
 if d['% IDENTITY']:
  return True
 else:
  return False

def check_align_percent_field ( d ) : if d [ '% IDENTITY' ] : return True else : return False
check for empty percent identity fields in a dict .