Move is check to begging of methods put_localrc, put_local_conf