public function isParentOf($path) {
        $path = BIP32Path::path($path);

        return strlen((string)$path) > strlen((string)$this) && strpos((string)$path, (string)$this) === 0;
    }
public function isParentOf($path) {
        $path = BIP32Path::path($path);

        return strlen((string)$path) > strlen((string)$this) && strpos((string)$path, (string)$this) === 0;
    }
public function isParentOf ( $ path ) { $ path = BIP32Path :: path ( $ path ) ; return strlen ( ( string ) $ path ) > strlen ( ( string ) $ this ) && strpos ( ( string ) $ path , ( string ) $ this ) === 0 ; }
check if this path is parent path of the provided path

@param string|BIP32Path $path
@return bool
check if this path is parent path of the provided path