Simplify banner check

Change-Id: Iea62afeb544470019043266287906f75289a08ba