Supporting custom 'EXPIRE_AFTER' value (use case: user-defined expiration value)

isinstance