(layer)
return False
Check if layer is an EOF layer
Check if layer is an EOF layer
Check if layer is an EOF layer
def is_eof_layer(layer):
    """Check if layer is an EOF layer"""
    if int(layer[4], 16) is 254:
        return True
    return False
def is_eof_layer ( layer ) : if int ( layer [ 4 ] , 16 ) is 254 : return True return False