Moved core_check into misc/utilities.py