def METHOD_NAME(cls, instance):
    """Apply frame range in render settings"""
    layer = instance.data["renderlayer"]
    context = instance.context
    start_attr = "defaultRenderGlobals.startFrame"
    end_attr = "defaultRenderGlobals.endFrame"
    frame_start_handle = int(context.data.get("frameStartHandle"))
    frame_end_handle = int(context.data.get("frameEndHandle"))
    cls._set_attr_in_layer(start_attr, layer, frame_start_handle)
    cls._set_attr_in_layer(end_attr, layer, frame_end_handle)