Frame compatibility check.
Lint.
Merge pull request #300 from pleroy/FrameCheck

Add a function to verify if a body is compatible with a frame.