ContainsClass doesnt return value