The library provides a version of
get_resource_type() functions that can understand opaque objects.
It is useful tool if you need to support a library that may be affected by the resource to object migration.
composer require 'arokettu/is-resource'
The library is available as open source under the terms of the MIT License.