Predicate will internally use `instanceof` operator along with ducktyping on shape and behavior of object to determine it's type.