Receiving a warning squiggly and the message "Argument '1' passed to is_a() is expected to be of type object, string given" but it should be fine given that I'm using the $allow_string argument set to true.
Thank you Andy! Looking into it.
is_a function has been updated, will be fixed in the next update! thank you Andy