def checkSecHeads(headers):
    """Checks if security headers present, or not"""
    headersPresent = {}
    headersNotPresent = []
    security_headers = ['Referrer-Policy', 'X-XSS-Protection',
        'Content-Security-Policy', 'X-Frame-Options',
        'Strict-Transport-Security', 'X-Content-Type-Options',
        'X-Permitted-Cross-Domain-Policies', 'Public-Key-Pins', 'Expect-CT',
        'Feature-Policy', 'Report-To', 'NEL']
    for security_header in security_headers:
        if security_header in headers:
            headersPresent[security_header] = headers[security_header]
        else:
            headersNotPresent.append(security_header)
    return headersPresent, headersNotPresent
