Issue 3792

removing unnecessary interface checking with reflection, using a native php function instead