Adding partition check
Cleaning up whitespace with flake8
Making update from peer review
Moving verify_object_partition to module level
Merge pull request #1 from aerwin3/part_check

Adding partition check