This should be imported at the top of the file too, in the same chunk as the other stdlib imports. The "inner import" for `fabric.state` stuff is only to avoid circular references - otherwise, default to importing at top of file.