To see if your postcode is a Scottish address, you can use the Scottish Postcode Directory (SPD) | National Records of Scotland (nrscotland.gov.uk).
DWP uses this database for determining Scottish postcodes for the Core Groups. It is better to use the full postcode to check where you may be eligible.