[IMP-dev] Moving particle checks to python