code: protected function valueIsEmpty($value)
      {
          return (
              is_object($value) &&
              $value instanceof Parameters &&
              $value->isEmpty()
          ) || (is_array($value) && !count($value));
      }
docs: Empty Hash or empty array?
  @return boolean