Making .is_a? Fast

Optimization