include  hasNetworkLayer method