Per r64228 CR: make the check a static method in IPBlockForm to reduce duplication.