- replaced is_object by get_class for performance gain

Signed-off-by: Daniel Spors <daniels@scavix.com>