original_string: protected function is_collection_like($value)
      {
          if ($value instanceof self) {
              return true;
  
          } else if ($value instanceof \Traversable) {
              return true;
  
          } else if ($value instanceof Arrayable) {
              return true;
  
          } else if ($value instanceof Jsonable) {
              return true;
  
          } else if (is_object($value) || is_array($value)) {
              return true;
  
          } else {
              return false;
          }
      }
code: protected function is_collection_like($value)
      {
          if ($value instanceof self) {
              return true;
  
          } else if ($value instanceof \Traversable) {
              return true;
  
          } else if ($value instanceof Arrayable) {
              return true;
  
          } else if ($value instanceof Jsonable) {
              return true;
  
          } else if (is_object($value) || is_array($value)) {
              return true;
  
          } else {
              return false;
          }
      }
code_tokens: protected function is_collection_like ( $ value ) { if ( $ value instanceof self ) { return true ; } else if ( $ value instanceof \ Traversable ) { return true ; } else if ( $ value instanceof Arrayable ) { return true ; } else if ( $ value instanceof Jsonable ) { return true ; } else if ( is_object ( $ value ) || is_array ( $ value ) ) { return true ; } else { return false ; } }
docstring: Decide if the given value is considered collection-like.
  
  @param mixed $value
  @return bool
docstring_tokens: Decide if the given value is considered collection - like .