method accessor and boolean fuction