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.