Add new parameter to isEmpty method.

- Add useImplicitMethod parameter to avoid
  using implicit isEmpty method within objects
  and functions or constructors.