Making .is_a? Fast

Performance