engine: Extract method of network compliance check

Change-Id: Iadc66b853055b7237f9dbe78793f53bb20299b04
Signed-off-by: Moti Asayag <masayag@redhat.com>