class-string $interface:
bool
public function hasInterface($interface) { return in_array($interface, $this->interfaces); }