271.Section 107 requires the Scottish Ministers (in discharge of their functions through the Scottish Prison Service) to ask prisoners whether they are a parent or guardian of a child, if they are liable to maintain or have care of a child or have parental responsibilities in relation to a child. If this is the case, that person must be asked for information that will help SPS identify the child’s named person service provider (in terms of Part 4 of the Children and Young People (Scotland) Act 2014. If a prisoner is a parent or guardian of a child, if they are liable to maintain or have care of a child or have parental responsibilities in relation to a child the Scottish Ministers must then notify the child’s named person service provider of the person’s imprisonment.