original_string: public function isIn($block): bool
      {
          if (!$block instanceof IPBlock) {
              $block = IPBlock::create($block);
          }
  
          return $block->contains($this);
      }
code: public function isIn($block): bool
      {
          if (!$block instanceof IPBlock) {
              $block = IPBlock::create($block);
          }
  
          return $block->contains($this);
      }
code_tokens: public function isIn ( $ block ) : bool { if ( ! $ block instanceof IPBlock ) { $ block = IPBlock :: create ( $ block ) ; } return $ block -> contains ( $ this ) ; }
docstring: Check if the IP is contained in given block.
  
  @param $block mixed Anything that can be converted into an IPBlock
  
  @return bool
docstring_tokens: Check if the IP is contained in given block .