Chief Justice of India Ranjan Gogoi today said he would visit Jammu and Kashmir, if needed, to check on allegations by a child rights activist that it was difficult accessing the High Court there amid security restrictions that have been in place since August 5, when the centre ended special status to the state.