use is_a instead of string comparison for interface check
Merge pull request #10 from themightychris/beta

use is_a instead of string comparison for interface check