Check if factory implements the interface with name interfacename.
an interface name
true when factory implement the interface.
Check if factory implements the interface with name interfacename.