def is_lossy(label):
val = getkey(from_=label, keyword='<STR_LIT>').decode().strip()<EOL>if val == '<STR_LIT>':<EOL><INDENT>return True<EOL><DEDENT>else:<EOL><INDENT>return False<EOL><DEDENT>
Check Label file for the compression type.