Minor nit: If the intention is to return a boolean you might want to make this `return !!photosById[id]`.