check from attribute