Remove check for is_object()

Signed-off-by: Suki <suki@missallsunday.com>