code: function firstItemInPath( path, list ) {
  		if ( !list )
  			list = path.contains( this.context );
  
  		return list && path.block && path.block.equals( list.getFirst( listItem ) );
  	}
docs: Check whether a first child of a list is in the path. The list can be extracted from path or given explicitly e.g. for better performance if cached.