Check scope attribute value