if object is None/null it should respect the not_avaible paramater