OwlProfile:IsReleased(): boolean

Server Only

Queries whether the session has been closed. Attempting mutations or reads on a released profile logs a security warning.

Returns

booleanTrue if the profile session has been released, false otherwise.
if not profile:IsReleased() then
    profile:Increment("PlayTime", 1)
end