can you just set content_md5 and content_type to '' by default, that also return `False` and you don't need the or.