original_string: public function contains($ip_or_block): bool
      {
          if ((is_string($ip_or_block) && strpos($ip_or_block, '/') !== false) || $ip_or_block instanceof IPBlock) {
              return $this->containsBlock($ip_or_block);
          } else {
              return $this->containsIP($ip_or_block);
          }
      }
code: public function contains($ip_or_block): bool
      {
          if ((is_string($ip_or_block) && strpos($ip_or_block, '/') !== false) || $ip_or_block instanceof IPBlock) {
              return $this->containsBlock($ip_or_block);
          } else {
              return $this->containsIP($ip_or_block);
          }
      }
code_tokens: public function contains ( $ ip_or_block ) : bool { if ( ( is_string ( $ ip_or_block ) && strpos ( $ ip_or_block , '/' ) !== false ) || $ ip_or_block instanceof IPBlock ) { return $ this -> containsBlock ( $ ip_or_block ) ; } else { return $ this -> containsIP ( $ ip_or_block ) ; } }
docstring: Determine if the current block contains an IP address or block.
  
  @param mixed $ip_or_block
  
  @return bool
docstring_tokens: Determine if the current block contains an IP address or block .