Formerly this was vice versa so did you mean

``return nil unless work_package.is_story?`` ?