Add 'has' method