Added has function.