Implement haskey.
Dict interface: get with default
Dict interface: get with default function