Add actual policy check

Change-Id: I895dfb935c6f37f48034f3163a3f5646698c2a20
PEP8

Change-Id: I57abbf781a4c06007bda9cc245230a33cb2a7022