This can be made more readable. Perhaps we don't even need the first and last and we just have and "is_st_swithuns" function?