Check for function modifier placement/validity